<%--
  Created by IntelliJ IDEA.
  User: xiangty 
  Date: 2018-03-30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>Info页面信息页面</title>
</head>
<body>
<table align="center" width="60%" border="1px" cellspacing="0" >
    <tr>
        <td>id</td>
        <td>username</td>
        <td>password</td>
    </tr>
    <c:forEach items="${infoList}" var="info">
        <tr>
            <td>${info.id}</td>
            <td>${info.username}</td>
            <td>${info.password}</td>
        </tr>
    </c:forEach>
    <tr>
        <td colspan="3" align="center">
            <a href="page/add.jsp">新增</a>
        </td>
    </tr>
</table>
</body>
</html>
